//
//  URLStore.h
//  TwitterFon
//
//  Created by koolearn on 11-4-13.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

#define kAPIFormatJSON @"json"
#define kAPIFormatXML @"xml"

//#define kAPIUrl @"http://www.ggua.neibu.cn/api"
//#define kAPIUrl @"http://www.ggua.cn/api"
//#define kAPIUrl @"http://gzi.me/api"
#define kAPIUrl @"http://221.123.176.147/api"

#define kAPIMethodVerify @"users/verify_credentials"
#define kAPIMethodFriendsTimeline @"status/FriendsTimeline"
#define kAPIMethodUserProfile @"users/show"

//微博接口
#define kAPIMethodUserTimeline @"weibo/user_timeline"
#define kAPIMethodMentions @"weibo/mentions"
#define kAPIMethodPostTweet @"weibo/Post"
#define kAPIMethodDestroyTweet @"weibo/destroy"
#define kAPIMethodTweetUpload   @"weibo/upload"
#define kAPIMethodFavoriteCreate @"favorite/create"
#define kAPIMethodFavoriteDestroy @"favorite/destroy"
#define kAPIMethodFavoriteList @"Favorites/list"
#define kAPIMethodTweetShow @"weibo/show"
#define kAPIMethodTweetRepost @"weibo/repost"
#define kAPIMehtodTweetRetweetUsers @"weibo/forward_users"

//评论接口
#define kAPIMethodRemarkList @"remark/list"
#define kAPIMethodRemarkCreate @"remark/createnew"

#define kAPIMethodFriendShipFollowing @"friendships/friends"
#define kAPIMethodFriendShipFollowers @"friendships/followers"
#define kAPIMethodFriendShipCreate @"friendship/create"
#define kAPIMethodFriendShipDestroy @"friendship/destroy"
#define kAPIMethodFriendShipSetUserGroup @"friendship/setUserGroup"


#define kAPIMethodMessageRelation @"message/relation"
#define kAPIMethodMessageConversation @"message/conversation"
#define kAPIMethodMessageSend @"message/send"
#define kAPIMethodMessageSendToGroup @"message/sendToGroup"

#define kAPIMethodGroupGetGroups @"group/groups"
#define kAPIMethodGroupUsers @"group/users"
#define kAPIMethodGroupCreate @"group/create"
#define kAPIMethodGroupDestroy @"group/destroy"
#define kAPIMethodGroupUpdate @"group/update"

//默默关注
#define kAPIMethodSilenceFollowing @"silenceFollowing/list"
#define kAPIMethodCreateSilenceFollowing @"silenceFollowing/create"
#define kAPIMethodDestroySilenceFollowing @"silenceFollowing/destroy"

//名片
#define kAPIMethodCardMyCards @"card/myCards"
#define kAPIMethodCardFriendCards @"card/friendCards"
#define kAPIMethodCardDetail @"card/detail"
#define kAPIMethodCardCreateCard @"card/create"
#define kAPIMethodCardDestroyCard @"card/destroy"
#define kAPIMethodCardAskCard @"card/ask"
#define kAPIMethodCardAskCardAccept @"card/agreeAskCard"
#define kAPIMethodCardAskCardReject @"card/rejectAskCard"

//注册
#define kAPIMethodRegisterRegister @"register/register"
#define kAPIMethodRegisterActivate @"register/activate"

#define kAPIMethodSearchUser @"search/users"

//数据同步
#define kAPIMethodDataup @"data/up"
#define kAPIMethodUpload @"upload/upload"


@interface URLStore : NSObject {
}

+ (URLStore*) sharedInstance;

- (NSString*) urlForKey:(NSString*) key format:(NSString*)format;

@end
